.class Lcom/waiqin365/lightapp/product/cw;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/view/View$OnClickListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 9

    const v8, 0x7f080668

    const v7, 0x7f080594

    const v6, 0x7f080469

    const v5, 0x7f080468

    const/4 v4, 0x1

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v0

    if-nez v0, :cond_3

    const-string/jumbo v0, ""

    :goto_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v1}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->x(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Ljava/util/List;

    move-result-object v1

    invoke-interface {v1}, Ljava/util/List;->clear()V

    new-instance v1, Lcom/waiqin365/base/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v2, v8}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v3, v8}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/c/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v2, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_0

    invoke-virtual {v1, v4}, Lcom/waiqin365/base/c/a;->a_(Z)V

    :cond_0
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->x(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    sget-object v1, Lcom/waiqin365/lightapp/product/s;->p:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->j(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    if-eq v1, v2, :cond_1

    sget-object v1, Lcom/waiqin365/lightapp/product/s;->r:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->j(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    if-eq v1, v2, :cond_1

    sget-object v1, Lcom/waiqin365/lightapp/product/s;->q:Lcom/waiqin365/lightapp/product/s;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->j(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Lcom/waiqin365/lightapp/product/d/g;

    move-result-object v2

    iget-object v2, v2, Lcom/waiqin365/lightapp/product/d/g;->d:Lcom/waiqin365/lightapp/product/s;

    if-ne v1, v2, :cond_4

    :cond_1
    new-instance v1, Lcom/waiqin365/base/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v2, v7}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v3, v7}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/c/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v2, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-virtual {v1, v4}, Lcom/waiqin365/base/c/a;->a_(Z)V

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->x(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v2, v1, Lcom/waiqin365/base/c/a;->b:Ljava/lang/String;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v0

    iget-object v1, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTag(Ljava/lang/Object;)V

    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    iget-object v0, v0, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->b:Lcom/waiqin365/lightapp/view/ag;

    const/4 v1, 0x0

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->y(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/content/Context;

    move-result-object v2

    const/high16 v3, 0x3f000000    # 0.5f

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->b(Landroid/content/Context;F)I

    move-result v2

    invoke-virtual {v0, p1, v1, v2}, Lcom/waiqin365/lightapp/view/ag;->a(Landroid/view/View;II)V

    return-void

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->c(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Landroid/widget/TextView;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/TextView;->getTag()Ljava/lang/Object;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v0

    goto/16 :goto_0

    :cond_4
    new-instance v1, Lcom/waiqin365/base/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v2, v5}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v3, v5}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/c/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v2, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v2

    if-eqz v2, :cond_5

    invoke-virtual {v1, v4}, Lcom/waiqin365/base/c/a;->a_(Z)V

    :cond_5
    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v2}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->x(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Ljava/util/List;

    move-result-object v2

    invoke-interface {v2, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    new-instance v1, Lcom/waiqin365/base/c/a;

    iget-object v2, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v2, v6}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v2

    iget-object v3, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-virtual {v3, v6}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->getString(I)Ljava/lang/String;

    move-result-object v3

    invoke-direct {v1, v2, v3}, Lcom/waiqin365/base/c/a;-><init>(Ljava/lang/String;Ljava/lang/String;)V

    iget-object v2, v1, Lcom/waiqin365/base/c/a;->a:Ljava/lang/String;

    invoke-virtual {v0, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_6

    invoke-virtual {v1, v4}, Lcom/waiqin365/base/c/a;->a_(Z)V

    :cond_6
    iget-object v0, p0, Lcom/waiqin365/lightapp/product/cw;->a:Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;

    invoke-static {v0}, Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;->x(Lcom/waiqin365/lightapp/product/ProductSelectActivityNew;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0, v1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_1
.end method
